package com.keensense.vcm.model.enums;

import javax.xml.bind.annotation.XmlEnumValue;

/**
 * @author lanjian
 * @date 2020/5/29 2:32 下午
 */
public enum IntelligentStatusEnum {

    @XmlEnumValue(value = "-3") DELETED(-3, "摄像机被删除"), @XmlEnumValue(value = "-2") STOPPED(-2, "已经被停止"),
    @XmlEnumValue(value = "-1") FAILED(-1, "已经失败"), @XmlEnumValue(value = "-0") UNEXECUTED(0, "未执行"),
    @XmlEnumValue(value = "1") ANALYSIS(1, "分析中"), @XmlEnumValue(value = "2") Succeeded(2, "已成功"),
    @XmlEnumValue(value = "3") Collecting(3, "采集中"), @XmlEnumValue(value = "4") Starting(4, "启动中"),
    @XmlEnumValue(value = "5") STOPPING(5, "停止中"), @XmlEnumValue(value = "6") Queuing(6, "排队中");

    IntelligentStatusEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    private Integer value;
    private String desc;

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
